﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Douban.Api.Infrastructure;
using Douban.Api.User;

namespace Douban.Api.Broadcast
{
    [Feed]
    public class MiniblogFeed : EntryItem
    {
        [Element("title")]
        public string Title { get; set; }

        [Element("author")]
        public Author User { get; set; }

        [ElementCollection("entry")]
        public IList<Miniblog> Miniblogs { get; set; }

        [Element("startIndex", NsManager.OpenSearch)]
        public int StartIndex { get; set; }

        [Element("itemsPerPage", NsManager.OpenSearch)]
        public int ItemsPerPage { get; set; }
    }
}
